<?php

// +----------------------------------------------------------------------
// | quanli team
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2020 http://www.fistforward.com/ All rights reserved.
// +----------------------------------------------------------------------
// | Author: create by allen.qiang
// +----------------------------------------------------------------------

/**
 * 商品基本信息维度功能
 *
 * @package 	htdocs
 * @subpackage  quanliadmin
 * @author  	create by allen.qiang
 */

class pa_goodsBasic {
	
	public function execute() {
		
		if (isset($_REQUEST['operFlg']) && $_REQUEST['operFlg'] > 0) {
			switch ($_REQUEST['operFlg']) {
				case 1:
					$this->goodsBasicList();	//商品基本信息维度列表
					break;
				default:
					backendError();
			}
		} else {
			backendError();
		}
		
	}
	
	/**
	 * 商品基本信息维度列表
	 */
	private function goodsBasicList() {
		
		global $G_PGLOB;
		
		//编辑权限
		$G_PGLOB->smarty->assign('edit_permission',$G_PGLOB->has_permission(533));
		
		$G_PGLOB->smarty->display('goods/goodsBasicList.tpl');
		
	}
	
}